Introduction to version control with Git

Day 2: Branching, Merging and collaboration workflows

Selina Baldauf

Freie Universität Berlin - Theoretical Ecology

October 14, 2024

Artwork by Allison Horst

ggplot(data)

The ggplot() function initializes a ggplot object. Every ggplot needs this function.

library(ggplot2) # or library(tidyverse)
library(lterdatasampler)

ggplot(data = and_vertebrates)

  • Empty plot because we did not specify the mapping of data variables

Examples in light mode

And a block quote

Heading 2

Heading 3

Some text with some yellow and with some green and some pink and some blue

And a test of a circle highlight.

Heading 4

Here we have a link and some bold and italic

library(ggplot2)
ggplot(penugins, aes(1:10,1:0)) +
  geom_point("test")
head(iris)
  Sepal.Length Sepal.Width Petal.Length Petal.Width Species
1          5.1         3.5          1.4         0.2  setosa
2          4.9         3.0          1.4         0.2  setosa
3          4.7         3.2          1.3         0.2  setosa
4          4.6         3.1          1.5         0.2  setosa
5          5.0         3.6          1.4         0.2  setosa
6          5.4         3.9          1.7         0.4  setosa

Here we have some inline code, or even real code mean(1:10)

Examples in dark mode

And a block quote

Heading 2

Heading 3

Some text with some yellow and with some green and some pink and some blue

And a test of a circle highlight.

Heading 4

Here we have a link and some bold and italic

library(ggplot2)
ggplot(penugins, aes(1:10,1:0)) +
  geom_point()

Here we have some inline code, or even real code mean(1:10)

Examples in blue mode

And a block quote

Heading 2

Heading 3

Some text with some yellow and with some green and some pink and some blue

And a test of a circle highlight.

Heading 4

Here we have a link and some bold and italic

library(ggplot2)
ggplot(penugins, aes(1:10,1:0)) +
  geom_point()

Here we have some inline code, or even real code mean(1:10)